package com.coda.entity;


import com.coda.enumeration.ReleaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "公寓信息表")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApartmentInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "公寓名称")
    private String name;

    @Schema(description = "公寓介绍")
    private String introduction;

    @Schema(description = "所处区域id")
    private Long districtId;

    @Schema(description = "所处区域名称")
    private String districtName;

    @Schema(description = "所处城市id")
    private Long cityId;

    @Schema(description = "所处城市名称")
    private String cityName;

    @Schema(description = "所处省份id")
    private Long provinceId;

    @Schema(description = "所处区域名称")
    private String provinceName;

    @Schema(description = "详细地址")
    private String addressDetail;

    @Schema(description = "经度")
    private String latitude;

    @Schema(description = "纬度")
    private String longitude;

    @Schema(description = "公寓前台电话")
    private String phone;

    @Schema(description = "是否发布")
    private Integer isRelease;

}